[INFO] cloning repository https://github.com/takatori/rust-coin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takatori/rust-coin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93076f35aca5a0a5c849c8bfcbce0fa0c8c2386e
[INFO] building takatori/rust-coin against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/takatori/rust-coin on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/takatori/rust-coin
[INFO] finished tweaking git repo https://github.com/takatori/rust-coin
[INFO] tweaked toml for git repo https://github.com/takatori/rust-coin written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/takatori/rust-coin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57de30181b0519d3240e598b40a6fdd7183ddf8653435549bce49142ed623f89
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "57de30181b0519d3240e598b40a6fdd7183ddf8653435549bce49142ed623f89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57de30181b0519d3240e598b40a6fdd7183ddf8653435549bce49142ed623f89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57de30181b0519d3240e598b40a6fdd7183ddf8653435549bce49142ed623f89", kill_on_drop: false }`
[INFO] [stdout] 57de30181b0519d3240e598b40a6fdd7183ddf8653435549bce49142ed623f89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8302e1d8a8e3b9c1bde1f4fdb26ddaca373bb83331dd63a9566b262ea1539813
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8302e1d8a8e3b9c1bde1f4fdb26ddaca373bb83331dd63a9566b262ea1539813", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.9.0
[INFO] [stderr]    Compiling futures v0.1.16
[INFO] [stderr]    Compiling odds v0.2.25
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling lazycell v0.5.1
[INFO] [stderr]    Compiling scoped-tls v0.1.0
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling take v0.1.0
[INFO] [stderr]    Compiling smallvec v0.2.1
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling iovec v0.1.0
[INFO] [stderr]    Compiling num_cpus v1.6.2
[INFO] [stderr]    Compiling rand v0.3.16
[INFO] [stderr]    Compiling time v0.1.38
[INFO] [stderr]    Compiling net2 v0.2.31
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling base64 v0.6.0
[INFO] [stderr]    Compiling unicase v2.0.0
[INFO] [stderr]    Compiling bytes v0.4.5
[INFO] [stderr]    Compiling serde_json v1.0.3
[INFO] [stderr]    Compiling nodrop v0.1.9
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling mio v0.6.10
[INFO] [stderr]    Compiling mime v0.3.3
[INFO] [stderr]    Compiling tokio-io v0.1.3
[INFO] [stderr]    Compiling tokio-service v0.1.0
[INFO] [stderr]    Compiling futures-cpupool v0.1.6
[INFO] [stderr]    Compiling serde_derive_internals v0.16.0
[INFO] [stderr]    Compiling generic-array v0.8.3
[INFO] [stderr]    Compiling block-buffer v0.2.0
[INFO] [stderr]    Compiling digest v0.6.2
[INFO] [stderr]    Compiling tokio-core v0.1.9
[INFO] [stderr]    Compiling sha2 v0.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.15
[INFO] [stderr]    Compiling tokio-proto v0.1.1
[INFO] [stderr]    Compiling hyper v0.11.2
[INFO] [stderr]    Compiling rust-coin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use sha2::Sha256;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `digest::Input`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use digest::Input;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::header::ContentLength`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use hyper::header::ContentLength;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Http`
[INFO] [stdout]   --> src/main.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | use hyper::server::{Http, Request, Response, Service};
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let mut sha256 = Digest::new();
[INFO] [stdout]    |         ---------- consider giving `sha256` a type
[INFO] [stdout] 95 |     sha256.input_str(seed);
[INFO] [stdout]    |     ^^^^^^ cannot infer type
[INFO] [stdout]    |
[INFO] [stdout]    = note: type must be known at this point
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:153:23
[INFO] [stdout]     |
[INFO] [stdout] 153 |         block_chain = new_blocks;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected struct `Vec`, found `&[Block]`
[INFO] [stdout]     |                       help: try using a conversion method: `new_blocks.to_vec()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<Block>`
[INFO] [stdout]             found reference `&[Block]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:161:57
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn is_valid_chain(block_chain_to_validate: &[Block]) -> bool {
[INFO] [stdout]     |    --------------                                       ^^^^ expected `bool`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-coin`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8302e1d8a8e3b9c1bde1f4fdb26ddaca373bb83331dd63a9566b262ea1539813", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8302e1d8a8e3b9c1bde1f4fdb26ddaca373bb83331dd63a9566b262ea1539813", kill_on_drop: false }`
[INFO] [stdout] 8302e1d8a8e3b9c1bde1f4fdb26ddaca373bb83331dd63a9566b262ea1539813
